﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(Servicecenter))]
    [ProtoContract]
    public class ServicecenterDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public String title { get; set; }

        [ProtoMember(3)]
        public int user_id { get; set; }

        [ProtoMember(4)]
        public String user_name { get; set; }

        [ProtoMember(5)]
        public String realname { get; set; }

        [ProtoMember(6)]
        public String mobile { get; set; }

        [ProtoMember(7)]
        public String province { get; set; }

        [ProtoMember(8)]
        public String city { get; set; }

        [ProtoMember(9)]
        public String area { get; set; }

        [ProtoMember(10)]
        public String address { get; set; }

        [ProtoMember(11)]
        public String zhuying { get; set; }

        [ProtoMember(12)]
        public String imgurl { get; set; }

        [ProtoMember(13)]
        public String imgurl_n { get; set; }

        [ProtoMember(14)]
        public DateTime addtime { get; set; }

        [ProtoMember(15)]
        public DateTime? checktime { get; set; }

        [ProtoMember(16)]
        public int status { get; set; }

        [ProtoMember(17)]
        public DateTime? starttime { get; set; }

        [ProtoMember(18)]
        public DateTime? endtime { get; set; }


        [ProtoMember(19)]
        public int isyouxiu { get; set; }

        [ProtoMember(20)]
        public DateTime? yx_time { get; set; }

        [ProtoMember(21)]
        public int isreturn { get; set; }

        [ProtoMember(22)]
        public DateTime? return_time { get; set; }
    }
}
